package app.goods.info.services.domain;

import java.util.Objects;

import com.alibaba.fastjson.annotation.JSONField;

public class ShopInfo {
//	@JSONField(name = "shop_no")
	private String shopNo;
//	@JSONField(name = "shop_name")
	private String shopName;
	private String status;
	private String shopAddress;
	private double longitude=118.209162;
	private double latitude=33.988217;
	
	
	

	public ShopInfo(String shopName, String shopNo, String status) {
		super();
		this.shopName = shopName;
		this.shopNo = shopNo;
		this.status = status;
	}

	public ShopInfo() {
		// TODO Auto-generated constructor stub
	}

	public String getShopNo() {
		return shopNo;
	}

	public void setShopNo(String shopNo) {
		this.shopNo = shopNo;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getShopAddress() {
		return shopAddress;
	}

	public void setShopAddress(String shopAddress) {
		this.shopAddress = shopAddress;
	}

	public double getLongitude() {
		return longitude;
	}

	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}

	public double getLatitude() {
		return latitude;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

	@Override
	public String toString() {
		return "ShopInfo [shopNo=" + shopNo + ", shopName=" + shopName + ", status=" + status + ", shopAddress="
				+ shopAddress + ", longitude=" + longitude + ", latitude=" + latitude + "]";
	}

	@Override
	public int hashCode() {
		return Objects.hash(shopNo);
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		ShopInfo other = (ShopInfo) obj;
		return Objects.equals(shopNo, other.shopNo);
	}

	

	
}
